import Vue from 'vue'
import App from './App.vue'

import qs from 'qs'

// 导入element-ui
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
// 设置全局样式
import './assets/global.css'
// 导入axios
import axios from 'axios'
Vue.prototype.$axios = axios

// 使用vuex，导入store
import store from './store'
// 注册路由
import VueRouter from 'vue-router'
import router from './router'

Vue.config.productionTip = false
Vue.use(ElementUI,{
  size: 'small'
})

Vue.use(VueRouter)
new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
